#!/usr/bin/env python

from pylab import *

fp = open('weights_dcds.txt', 'w')


# 78个采样点
# @0.5MHz
w_size = 78

for cnt in range(w_size):
    for os in range(16):
        if cnt >= 21 and cnt <= 36:
            w = 1./16
        elif cnt >= 53 and cnt <= 70:
            w = -1./18
        else:
            w = 0

        fp.write('%12.8f '%(w)) 

    fp.write('\n')
fp.close()



